package com.otsdemo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.otsdemo.entity.Homework;
import com.otsdemo.mapper.TeacherMapper;
import com.otsdemo.entity.Teacher;
import com.otsdemo.service.TeacherService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class TeacherServiceImpl extends ServiceImpl<TeacherMapper, Teacher> implements TeacherService {
    @Autowired
    private TeacherMapper teacherMapper;
    @Override
    public boolean uploadVideo(String videoPath) {
        return teacherMapper.uploadVideo(videoPath);
    }

    @Override
    public List<Homework> getHomework() {

        return null;
    }
}
